package com.sadhoc.router;

import com.sadhoc.router.util.SubnetUtils.SubnetInfo;

public class Constants {
	
	public static int port = 0;
	public static String ip = null;
	public static String network = null;
	public static String broadcast	= null;
	public static SubnetInfo subnetInfo	= null;
	
	public static boolean running = true;

	public static final int CONTROLLER_SLEEP = 100;
	public static final int HELLO_INTERVAL = 2000;
	public static final int TC_INTERVAL = 6000;
	
	public static final int TOPOLOGY_VALID_TIME = TC_INTERVAL * 8;
	public static final int NEIGHBOR_TIMEOUT = HELLO_INTERVAL * 4;
	public static final int DUPLICATE_TIMEOUT = 30000;
	

}
